package com.ocn.li.scmdy.modules.app.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

@Entity
@org.hibernate.annotations.Table(comment = "网格管理", appliesTo = "map_grids")
@Table(name="map_grids")
public class GridLabels extends Base {

	private static final long serialVersionUID = 1L;


	private String identifyNumber;
	private String name;
	private String address;
	private String description;
	private String keywords;
	private String street;
	private String streetOffice;
	private int gradeValue;
	private String fillColor="#00FF00";
	private String strokeColor="#FF0000";
	private String strokeWeight="1";
	private Integer mapId;
	private Double x;
	private Double y;
	private String xs;
	private String ys;
	private Double gridArea;
	//	1 "城市网格" 2 "农村网格" 其他 "专属网格"
	private String gridType;
	private String manageStatus;
	private String orgId; //行政区划编码
	private String cityCode;//城市编码
	private String countryCode;//区县编码
	private String townCode;//镇区编码
	private String villageCode;//乡村编码
	private String gridCode;//网格编码
	private String gridPersonNum;//网格员数量
	private String gridPopulation;//网格户数
	
	
	@Column(length = 20)
	@FieldInfo(comment = "网格员数量")
	public String getGridPersonNum() {
		return gridPersonNum;
	}
	public void setGridPersonNum(String gridPersonNum) {
		this.gridPersonNum = gridPersonNum;
	}
	
	@Column(length = 20)
	@FieldInfo(comment = "网格户数")
	public String getGridPopulation() {
		return gridPopulation;
	}
	public void setGridPopulation(String gridPopulation) {
		this.gridPopulation = gridPopulation;
	}
	
	@Column(length = 50)
	@FieldInfo(comment = "网格标识")
	public String getIdentifyNumber() {
		return identifyNumber;
	}
	public void setIdentifyNumber(String identifyNumber) {
		this.identifyNumber = identifyNumber;
	}
	
	@Column(length = 100)
	@FieldInfo(comment = "网格名称")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	@Column(length = 255)
	@FieldInfo(comment = "地址")
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	@Column(length = 2000)
	@FieldInfo(comment = "描述")
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	@Column(length = 40)
	@FieldInfo(comment = "搜索关键字(多个以逗号分开)")
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	@Column(length = 50)
	@FieldInfo(comment = "所属街道")
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}

	@Column(length = 50)
	@FieldInfo(comment = "街道办事处")
	public String getStreetOffice() {
		return streetOffice;
	}
	public void setStreetOffice(String streetOffice) {
		this.streetOffice = streetOffice;
	}

	@FieldInfo(comment = "等级值")
	public int getGradeValue() {
		return gradeValue;
	}
	public void setGradeValue(int gradeValue) {
		this.gradeValue = gradeValue;
	}

	@Column(length = 7)
	@FieldInfo(comment = "填充颜色")
	public String getFillColor() {
		return fillColor;
	}
	public void setFillColor(String fillColor) {
		this.fillColor = fillColor;
	}

	@Column(length = 7)
	@FieldInfo(comment = "线颜色")
	public String getStrokeColor() {
		return strokeColor;
	}
	public void setStrokeColor(String strokeColor) {
		this.strokeColor = strokeColor;
	}

	@Column(length = 5)
	@FieldInfo(comment = "线条粗度")
	public String getStrokeWeight() {
		return strokeWeight;
	}
	public void setStrokeWeight(String strokeWeight) {
		this.strokeWeight = strokeWeight;
	}

	@Column(name = "mapId")
	@FieldInfo(comment = "标对应地图")
	public Integer getMapId() {
		return mapId;
	}
	public void setMapId(Integer mapId) {
		this.mapId = mapId;
	}

	@Column(name = "x")
	@FieldInfo(comment = "实体中心坐标x")
	public Double getX() {
		return x;
	}
	public void setX(Double x) {
		this.x = x;
	}

	@Column(name = "y")
	@FieldInfo(comment = "实体中心坐标y")
	public Double getY() {
		return y;
	}
	public void setY(Double y) {
		this.y = y;
	}

	@Lob
	@Column(length = 8000)
	@FieldInfo(comment = "实体坐标x,点与点间用逗号分隔")
	public String getXs() {
		return xs;
	}
	public void setXs(String xs) {
		this.xs = xs;
	}

	@Lob
	@Column(length = 8000)
	@FieldInfo(comment = "实体坐标y,点与点间用逗号分隔")
	public String getYs() {
		return ys;
	}
	public void setYs(String ys) {
		this.ys = ys;
	}
	
	@Column
	@FieldInfo(comment = "网格面积")
	public Double getGridArea() {
		return gridArea;
	}
	public void setGridArea(Double gridArea) {
		this.gridArea = gridArea;
	}
	
	
	@Column
	@FieldInfo(comment = "网格类型")
	public String getGridType() {
		return gridType;
	}
	public void setGridType(String gridType) {
		this.gridType = gridType;
	}

	@Column
	@FieldInfo(comment = "治理状况")
	public String getManageStatus() {
		return manageStatus;
	}
	public void setManageStatus(String manageStatus) {
		this.manageStatus = manageStatus;
	}
	
	@Column(length = 50)
	@FieldInfo(comment = "行政区划编码")
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	@Column(name = "city_code", length = 50)
	@FieldInfo(comment = "城市码")
	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	@Column(name = "country_code", length = 50)
	@FieldInfo(comment = "区县码")
	public String getCountryCode() {
		return countryCode;
	}

	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
	@Column(name = "town_code", length = 50)
	@FieldInfo(comment = "镇区码")
	public String getTownCode() {
		return townCode;
	}

	public void setTownCode(String townCode) {
		this.townCode = townCode;
	}
	@Column(name = "village_code", length = 50)
	@FieldInfo(comment = "乡村码")
	public String getVillageCode() {
		return villageCode;
	}

	public void setVillageCode(String villageCode) {
		this.villageCode = villageCode;
	}
	@Column(name = "grid_code", length = 50)
	@FieldInfo(comment = "网格码")
	public String getGridCode() {
		return gridCode;
	}
	public void setGridCode(String gridCode) {
		this.gridCode = gridCode;
	}

}
